<?php
	set_include_path('../include');
    require_once('Zend/Loader.php');
    Zend_Loader::registerAutoload();

    // connect to the database
    $params = array('host'     => 'localhost',
                    'username' => 'root',
                    'password' => 'root',
                    'dbname'   => 'extract');

    $db = Zend_Db::factory('pdo_mysql', $params);

    // Create a new user
    $user = new DatabaseObject_User($db);
    $user->userName = 's3eUser';
    $user->passWord = 'myPassword';
    //$user->save();


    // Find a user with user_id of 5 and delete them
    $user2 = new DatabaseObject_User($db);
    if ($user2->load(1)) {
        $user2->delete();
    }
?>